package cn.edu.guet.bean.editor;


import java.util.ArrayList;
import java.util.List;

public class Comment {
    private int comid;//评论id
    private int pid;
    private String comtime;//评论时间
    private String comcontent;//评论内容
    private int userid;
    private int fatherid;//父评论的id
    private int comup; //点赞量
    private int useredid;
    private String realname;
    private String useredrealname;
    private String hphoto;//头像

    public String getHphoto() {
        return hphoto;
    }

    public void setHphoto(String hphoto) {
        this.hphoto = hphoto;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public int getUseredid() {
        return useredid;
    }

    public void setUseredid(int useredid) {
        this.useredid = useredid;
    }

    private List<Comment> childCom =new ArrayList<>();

    public int getComid() {
        return comid;
    }

    public void setComid(int comid) {
        this.comid = comid;
    }

    public String getComtime() {
        return comtime;
    }

    public void setComtime(String comtime) {
        this.comtime = comtime;
    }

    public String getComcontent() {
        return comcontent;
    }

    public void setComcontent(String comcontent) {
        this.comcontent = comcontent;
    }

    public int getFatherid() {
        return fatherid;
    }

    public void setFatherid(int fatherid) {
        this.fatherid = fatherid;
    }

    public int getComup() {
        return comup;
    }

    public void setComup(int comup) {
        this.comup = comup;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getUseredrealname() {
        return useredrealname;
    }

    public void setUseredrealname(String useredrealname) {
        this.useredrealname = useredrealname;
    }

    public List<Comment> getChildCom() {
        return childCom;
    }

    public void setChildCom(List<Comment> childCom) {
        this.childCom = childCom;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

}
